<div class="row">
    <div class="col-xs-12">
        <div class="box">
            <div class="box-header">
                <button class="btn btn-sm btn-primary" ng-click="addUserUI()">新增用户</button>
                <div class="box-tools">
                    <div class="input-group" style="width: 150px;">
                        <input type="text" name="table_search" class="form-control input-sm pull-right"
                               placeholder="搜索">

                        <div class="input-group-btn">
                            <button class="btn btn-sm btn-default"><i class="fa fa-search"></i></button>
                        </div>
                    </div>
                </div>
            </div>
            <!-- /.box-header -->
            <div class="box-body table-responsive no-padding">
                <table class="table table-hover">
                    <tr>
                        <th>ID</th>
                        <th>用户名</th>
                        <th>姓名</th>
                        <th>角色</th>
                        <th>状态</th>
                        <th>应用数量</th>
                        <th>创建时间</th>
                        <th>最后修改时间</th>
                        <th>最后修改人</th>
                    </tr>
                    <tr ng-repeat="user in userlist">
                        <td>{{user.id}}</td>
                        <td>{{user.username}}</td>
                        <td>{{user.nickName}}</td>
                        <td>{{user.role}}</td>
                        <td>{{user.enable}}</td>
                        <td><span class="label label-success" ng-click="getMyAppList(user.id)">{{user.appCount}}</span></td>
                        <td>{{user.createDate|date: 'yyyy-MM-dd HH:mm:ss' }}</td>
                        <td>{{user.modifyDate|date: 'yyyy-MM-dd HH:mm:ss'}}</td>
                        <td>{{user.modifyNickName}}</td>
                    </tr>
                </table>
            </div>
            <!-- /.box-body -->
        </div>
        <!-- /.box -->
    </div>
</div>




